let obj={
    name:'ss',
    age:33
}
for(let key in obj){
    console.log(key)
    //name
    //age
}
for(let value of Object.values(obj)){
    console.log(value)
    //ss
    //33
}
for(let key of Object.keys(obj)){
    console.log(key)
    // name
    // age
}
for(let [key,value] of Object.entries(obj)){
    console.log(key,value)
    // name,ss
    // age,33
}
let arr=[1,2,3,4,6]
for(let item of arr){
    console.log(item)
    //1
    //2
    //3
    //4
    //6
}